package com.pureut.system.domain.dto;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: pureut
 * @Date: 2024-12-05 17:16:19
 * @Desc: 供应商评价
 */
@ExcelIgnoreUnannotated
@Data
public class SupplierEvaluationPagesDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;
    /**
     * 供应商名称
     */
    @ExcelProperty("供应商名称")
    @ColumnWidth(value = 20)
    private String supplierName;

    /**
     * 供应商编码
     */
    @ExcelProperty("供应商编码")
    @ColumnWidth(value = 20)
    private String supplierCode;

    /**
     * 评价编码
     */
    @ExcelProperty("供应商编码")
    @ColumnWidth(value = 20)
    private String evaluationCode;

    /**
     * 评价内容
     */
    @ExcelProperty("评价内容")
    @ColumnWidth(value = 20)
    private String evaluationContent;

    /**
     * 供应商id
     */
    private Long supplierId;

    /**
     * 变更前等级
     */
    @ExcelProperty("变更前等级")
    @ColumnWidth(value = 20)
    private String preChangeGrade;

    /**
     * 变更后等级
     */
    @ExcelProperty("变更后等级")
    @ColumnWidth(value = 20)
    private String modifiedGrade;

    /**
     * 审批人
     */
    private String approverBy;

    /**
     * 审批时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date approvalTime;

    /**
     * 附件
     */
    private String attachments;

    private String status;

    /**
     * 创建人
     */
    @ExcelProperty("创建人")
    @ColumnWidth(value = 20)
    private String createBy;

    /**
     * 创建时间
     */
    @ExcelProperty("创建时间")
    @ColumnWidth(value = 20)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;


}
